﻿using System.Web;
using System.Threading;

namespace NMA.Web.Core.ResourceFactory
{
    public partial class NMAResourceFactory : IResourceFactory
    {
        public NMAResourceFactory() : this(new HttpContextWrapper(HttpContext.Current))
        {
        }

        public NMAResourceFactory(HttpContextBase httpContext)
        {
            NMAContext = httpContext;
        }

        public HttpContextBase NMAContext { get; private set; }
    }
}